WP_Defender\Component\Firewall A

Total Complexity 70
Dependencies 9
Dependents 5
Total lines 440
Lines of code 238
Logical lines of code 107
Comment lines 125
Methods 20
Properties 0

Methods 20

Method Rating Maintainability Complexity Lines of code
skip_priority_lockout_checks()
A
54 9 21
get_blocked_ip()
S
53 7 24
is_a_staff_access()
S
57 7 16
is_blocklisted_ip()
S
51 5 30
gather_ips()
S
52 5 26
is_cloudflare_request()
S
62 5 12
maybe_show_misconfigured_ip_detection_option_notice()
S
62 5 11
auto_switch_ip_detection_option()
S
59 4 15
is_commencing_staff_access()
S
68 4 6
firewall_clean_up_lockout()
S
54 2 23
update_cron_schedule_interval()
S
70 2 6
firewall_clean_up_temporary_ip_blocklist()
S
69 2 7
firewall_clean_up_logs()
S
63 2 10
is_authenticated_staff_access()
S
78 2 3
update_trusted_proxy_preset_ips()
S
67 2 8
is_xff_notice_ready()
S
76 2 4
is_cf_notice_ready()
S
76 2 4
get_lockout_record_limit()
S
79 1 3
is_switched_ip_detection_notice()
S
79 1 3
delete_slugs()
S
71 1 6